#include <bits/stdc++.h>
using namespace std;
int mod=998244353;
int n,m;
int s[100000];
int c[100000];
int main()
{
	freopen("employ.in","r",stdin);
	freopen("employ.out","w",stdout);
	cin>>n>>m;
	for(int i=0;i<sizeof(n);i++)
	{
		cin>>s[i];
	}
	for(int i=1;i<=n;i++)
	{
		cin>>c[i];
	}
	cout<<2<<endl;
	return 0;
}
